package io.renren.modules.work.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author kylin
 * @email 1360315221@qq.com
 * @date 2019-02-26 22:41:58
 */
@Data
@TableName("lp_artical")
public class ArticalEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 
	 */
	private String title;
	/**
	 * 
	 */
	private String content;
	/**
	 * 
	 */
	private Integer liked;
	/**
	 * 
	 */
	private Integer looked;
	/**
	 * 
	 */
	private Integer message;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	/**
	 * 
	 */
	private String author;
	/**
	 * 
	 */
	private Integer authorId;

}
